
$("#myform").attr("target","sub-form");
var school_check_flag = false;
var name_check_flag = false;
var number_check_flag = false;
var flag = false;
var succ_btn = document.getElementById("success-btn");
function submit_check1(){
    if(name_check_flag === true && number_check_flag === true){
        form_submit();
    }else{
        alert("信息错误,请重试(203)");
        isName();
        isNumber();
        myform.name.focus();
    }
}
function submit_check2(){
    if(school_check_flag === true){
        form_submit();
        school_check_flag = false;
        //succ_btn.style.display="block";
        //succ_btn.className = "animated bounceInUp"
    }
    else{
        alert("信息错误,请重试(203)");
        isSchool();
        myform.school.focus();
    }
}
function submit_check3(){
    if(name_check_flag === true){
        form_submit();

        name_check_flag = false;
        //succ_btn.style.display="block";
        //succ_btn.className = "animated bounceInUp"
    }else{
        alert("信息错误,请重试(203)");
        isName();
        myform.name.focus();
    }
}
       